﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.WeChat
{
    public class WeChatCompetitionListDto 
    {
        /// <summary>
        /// 赛事ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 赛事名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 参赛人姓名
        /// </summary>
        public string EmployeeName { get; set; }

        /// <summary>
        /// 参赛项目
        /// </summary>
        public List<CompetitionProjectWeChatDto> CompeteInfos { get; set; }
    }
    
    /// <summary>
    /// 参赛项目
    /// </summary>
    public class CompetitionProjectWeChatDto
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string CompetitionProjectName { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        public string GameTypeName { get; set; }

        /// <summary>
        /// 比赛时间
        /// </summary>
        public string GameTime { get; set; }

        /// <summary>
        /// 举办地点
        /// </summary>
        public string CompetitionAddress { get; set; }

        /// <summary>
        /// 状态（0：关闭；1：待报名；2：正在报名；3：待分组；4：待签到；5：正在比赛；6：比赛结束）
        /// </summary>
        public string StateStr { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

    }
}
